* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

button {
    cursor: pointer;
    /* 按钮的指针改为点击样式 */
    border: none;
}

button,
input {
    font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    border: 0;
    outline: none;
}

a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
}

img {
    border: 0;
    vertical-align: middle;
    width: 256px;
}

body {
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    font: 12px/1.5 Microsoft YaHei, arial, sans-serif, "\5B8B\4F53";
    color: #666;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

.hide,
.none {
    display: none;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: "Lato", sans-serif;
    background: linear-gradient(270deg, #772ea8, #feb47b, #86a8e7, #91eac9);
    background-size: 800% 800%;
    animation: gradientBackground 30s ease infinite;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 1000px;
    margin: 0;
    overflow: hidden;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 600px;
    margin: 200px auto;
    /* 居中显示 */
    transition: transform 0.3s ease-in-out;
    z-index: 10;
}

.container:hover {
    transform: scale(1.05);
}

.container h2 {
    text-align: center;
    margin-bottom: 20px;
}

h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

textarea {
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    font: 16px/1.5 Microsoft YaHei, arial, sans-serif, "\5B8B\4F53";
}

label,
.answer
{
    font: 16px/1.5 Microsoft YaHei, arial, sans-serif, "\5B8B\4F53";
}

select {
    width: 30px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    display: block;
    border: none;
    border-radius: 5px;
    background-color: #008CBA;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #007BB5;
}

.error-message {
    color: red;
    display: none;
}

.trail {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
}